home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
Box.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
426b
|
23 lines
#include "stdafx.h"
cBox::cBox(cBox **list, cBox *orig)
{
add_end((cList **)list);
copy(orig);
}
cBox::cBox(cBox **list, int _x1, int _y1, int _x2, int _y2, char *_label)
{
add_end((cList **)list);
x1 = _x1, y1 = _y1, x2 = _x2, y2 = _y2, label = _label;
}
void cBox::copy(cBox *orig)
{
ASSERT(orig != 0);
x1 = orig->x1, y1 = orig->y1, x2 = orig->x2, y2 = orig->y2, label = orig->label;
}